package com.bdqn.vueboot.mapper;
import com.bdqn.vueboot.entity.Conference;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.vueboot.entity.ConferenceRoot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @Entity com.bdqn.vueboot.entity.ConferenceRoot
 */
public interface ConferenceRootMapper extends BaseMapper<ConferenceRoot> {

    IPage<ConferenceRoot> findAllByConferenceList(@Param("conferenceTitle") String conferenceTitle, @Param("conferencename") String conferencename,@Param("meetingStatusId")Integer meetingStatusId, @Param("conferenceRootMapperPage") Page<ConferenceRoot> conferenceRootMapperPage);


    @Update("update conference_root SET is_Dele = #{isDele} where odd = #{odd}")
    int delIsDeleByOdd(@Param("odd") Long odd, @Param("isDele") Long isDele);
}




